package com.kgc.xs.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class SalesOutDetail implements Serializable {
    private int id;
    private int goodId;
    private int storeId;
    private int outStoreNum;
    private BigDecimal taxSumPrice;
    private BigDecimal sumPrice;
    private String sourceCode;
    private String notes;
    private String createUser;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;
    private String updateUser;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;
    private int isDelete;
    private int storeMan_id;
    private BigDecimal actualPrice;

    public SalesOutDetail() {
    }

    public SalesOutDetail(int id, int goodId, int storeId, int outStoreNum, BigDecimal taxSumPrice, BigDecimal sumPrice, String sourceCode, String notes, String createUser, Date createTime, String updateUser, Date updateTime, int isDelete, int storeMan_id, BigDecimal actualPrice) {
        this.id = id;
        this.goodId = goodId;
        this.storeId = storeId;
        this.outStoreNum = outStoreNum;
        this.taxSumPrice = taxSumPrice;
        this.sumPrice = sumPrice;
        this.sourceCode = sourceCode;
        this.notes = notes;
        this.createUser = createUser;
        this.createTime = createTime;
        this.updateUser = updateUser;
        this.updateTime = updateTime;
        this.isDelete = isDelete;
        this.storeMan_id = storeMan_id;
        this.actualPrice = actualPrice;
    }

    public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }



    public int getStoreId() {
        return storeId;
    }

    public void setStoreId(int storeId) {
        this.storeId = storeId;
    }

    public int getOutStoreNum() {
        return outStoreNum;
    }

    public void setOutStoreNum(int outStoreNum) {
        this.outStoreNum = outStoreNum;
    }

    public BigDecimal getTaxSumPrice() {
        return taxSumPrice;
    }

    public void setTaxSumPrice(BigDecimal taxSumPrice) {
        this.taxSumPrice = taxSumPrice;
    }

    public BigDecimal getSumPrice() {
        return sumPrice;
    }

    public void setSumPrice(BigDecimal sumPrice) {
        this.sumPrice = sumPrice;
    }

    public String getSourceCode() {
        return sourceCode;
    }

    public void setSourceCode(String sourceCode) {
        this.sourceCode = sourceCode;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public int getStoreMan_id() {
        return storeMan_id;
    }

    public void setStoreMan_id(int storeMan_id) {
        this.storeMan_id = storeMan_id;
    }

    public BigDecimal getActualPrice() {
        return actualPrice;
    }

    public void setActualPrice(BigDecimal actualPrice) {
        this.actualPrice = actualPrice;
    }

    public int getGoodId() {
        return goodId;
    }

    public void setGoodId(int goodId) {
        this.goodId = goodId;
    }

    @Override
    public String toString() {
        return "SalesOutDetail{" +
                "id=" + id +
                ", goodsId=" + goodId +
                ", storeId=" + storeId +
                ", outStoreNum=" + outStoreNum +
                ", taxSumPrice=" + taxSumPrice +
                ", sumPrice=" + sumPrice +
                ", sourceCode='" + sourceCode + '\'' +
                ", notes='" + notes + '\'' +
                ", createUser='" + createUser + '\'' +
                ", createTime=" + createTime +
                ", updateUser='" + updateUser + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }
}
